package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.vo.order.OrderVo;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderFormMapper {

    List<OrderVo> getAllOrder(Long id);

    @Delete("DELETE FROM buyorder WHERE id = #{id}")
    void deleteOrder(Long id);
}
